.article-detail-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  /* 顶部区域样式 */
  .article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  /* 文章详情布局 */
  .content-layout {
    display: flex;
    gap: 20px;
    /* 左侧内容区 */
    .main-content {
      flex: 1;
      /* 文章内容样式 */
      .article-content {
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        /* 文章标题 */
        .article-header-info {
          margin-bottom: 20px;
          .article-title {
            font-size: 24px;
            font-weight: 600;
            color: #000;
            margin: 0 0 15px 0;
          }
          .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            .author-info {
              display: flex;
              align-items: center;
              gap: 10px;
              .author-avatar {
                width: 40px;
                height: 40px;
                border-radius: 50%;
              }
              .author-details {
                display: flex;
                flex-direction: column;
                .author-name {
                  font-size: 14px;
                  font-weight: 500;
                  color: #000;
                }

                .publish-time {
                  font-size: 12px;
                  color: #999;
                }
              }
            }
          }
          .article-actions {
            display: flex;
            gap: 15px;
          }
        }
        /* 文章title */
        .article-tags {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          margin-bottom: 20px;
          .tag {
            background-color: #fdf6c4;
            border: 1px solid #f3da23;
            padding: 4px 12px;
            border-radius: 16px;
            color: #2a4dd0;
            font-size: 12px;
            font-weight: 600;
          }
          .tag:hover {
            cursor: pointer;
          }
        }
        /* 文章内容 */
        .article-body {
          margin-top: 20px;
          .article-image {
            width: 100%;
            height: auto;
            margin-bottom: 20px;
            border-radius: 8px;
            overflow: hidden;
            img {
              width: 100%;
              height: auto;
              border-radius: 8px;
            }
          }
          .article-text {
            font-size: 16px;
            line-height: 1.8;
            color: #000;
            h2 {
              font-size: 20px;
              margin: 30px 0 15px;
              color: #000;
            }
            p {
              margin-bottom: 15px;
            }
            ul {
              margin-bottom: 15px;
              padding-left: 20px;
            }

            li {
              margin-bottom: 8px;
            }
          }
        }
      }

      /* 评论区 */
      .comments-section {
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        .section-header {
          margin-bottom: 20px;
          .section-title {
            font-size: 18px;
            color: #000;
            margin: 0;
          }
        }
        /* 输入区 */
        .comment-input {
          display: flex;
          gap: 15px;
          margin-bottom: 20px;
          .input-wrapper {
            flex: 1;
            textarea {
              width: 90%;
              padding: 12px;
              border: 1px solid #e0e0e0;
              border-radius: 8px;
              resize: vertical;
              font-size: 14px;
              line-height: 1.5;
            }
            .input-actions {
              display: flex;
              justify-content: flex-end;
              margin-top: 10px;

              .submit-btn {
                padding: 8px 20px;
                background-color: #2a4dd0;
                color: #fff4a3;
                font-weight: 400;
                border: none;
                border-radius: 20px;
                cursor: pointer;
                transition: all 0.2s;
              }

              .submit-btn:hover {
                background-color: #041f9a;
              }

              .submit-btn:disabled {
                background-color: #ccc;
                cursor: not-allowed;
              }
            }
          }
        }
        /* 评论列表 */
        .comment-list {
          display: flex;
          flex-direction: column;
          gap: 20px;
          margin: 10px 0;
          .comment-item {
            display: flex;
            gap: 15px;
            .comment-content {
              flex: 1;
              .comment-header {
                display: flex;
                justify-content: space-between;
                margin-bottom: 5px;
                .comment-author {
                  font-size: 14px;
                  font-weight: 500;
                  color: #000;
                }
                .comment-time {
                  font-size: 12px;
                  color: #999;
                }
              }

              .comment-text {
                font-size: 14px;
                line-height: 1.5;
                color: #000;
                margin-bottom: 10px;
              }
              .comment-actions {
                display: flex;
                gap: 15px;
              }
            }
          }
        }
      }

      .action-btn {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        border-radius: 16px;
        background-color: #f5f5f5;
        color: #666;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
      }

      .action-btn:hover {
        background-color: #1890ff;
        color: #fff;
        path.fill {
          color: #fff;
        }
      }

      .action-btn.active {
        background-color: #2a4dd0;
        color: white;
      }
      .user-avatar {
        width: 45px;
        height: 45px;
        border-radius: 50%;
      }
    }
    /* 侧边栏样式 */
    .sidebar {
      width: 300px;
      flex-shrink: 0;
      .sidebar-card {
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

        /* 相关文章 */
        .card-title {
          margin-bottom: 20px;
        }
        .related-articles {
          display: flex;
          flex-direction: column;
          gap: 15px;
        }
        .related-article {
          padding: 10px;
          border-radius: 8px;
          cursor: pointer;
          transition: all 0.2s;
          .related-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 5px;
          }
          .related-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
          }
        }
        .related-article:hover {
          background-color: var(--primary-50);
        }
      }
      /* 作者信息 */
      .author-card {
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        .author-profile {
          display: flex;
          align-items: center;
          cursor: pointer;
          gap: 15px;
          margin-bottom: 20px;
          justify-content: flex-start;
          .author-avatar-large {
            width: 60px;
            height: 60px;
            border-radius: 50%;
          }
          .author-info {
            .author-title {
              color: #ccc;
              font-size: 12px;
            }
          }
          .following {
            margin-left: 15px;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 6px 16px;
            border-radius: 20px;
            background-color: var(--primary-500);
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
          }
          .follow-btn {
            margin-left: 15px;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 6px 16px;
            border-radius: 20px;
            background-color: #ccc;
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
          }
        }
        .author-stats {
          display: flex;
          justify-content: space-around;
          padding-top: 15px;
          border-top: 1px solid #f0f0f0;
          cursor: pointer;
          .stat-item {
            text-align: center;
            .stat-value {
              font-size: 18px;
              font-weight: 600;
              color: var(--text-primary);
            }

            .stat-label {
              font-size: 12px;
              color: #999;
            }
          }
        }
      }
    }
  }
}
